package com.doubao.wechat.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 会员订阅订单请求DTO
 */
@Data
@Schema(description = "会员订阅订单请求")
public class MembershipOrderRequest {

    /**
     * 用户ID
     */
    @Schema(description = "用户ID", required = true)
    private Long userId;

    /**
     * 会员等级ID
     */
    @Schema(description = "会员等级ID", required = true)
    private Long levelId;

    /**
     * 支付金额（单位：分）
     */
    @Schema(description = "支付金额（单位：分）", defaultValue = "1990")
    private Integer amount;

    /**
     * 支付类型
     */
    @Schema(description = "支付类型", defaultValue = "jsapi")
    private String payType;

    /**
     * 客户端IP
     */
    @Schema(description = "客户端IP", defaultValue = "127.0.0.1")
    private String clientIp;

    /**
     * 订阅类型
     */
    @Schema(description = "订阅类型", defaultValue = "MONTHLY")
    private String subscriptionType;
} 